crPEExportToODBC

The crPEExportToODBC function exports a print job to ODBC format.

Declare Function crPEExportToODBC Lib "crwrap32.dll" (ByVal printJob As Integer, ByVal dataSourceName As String, ByVal dataSourceUserID As String, ByVal dataSourcePassword As String, ByVal exportTableName As String) As Integer

Parameters

printJob

Specifies the handle of the print job that you want to export.

dataSourceName

Specifies the name of the data source that you want to export to.

dataSourceUserID

Specifies the user ID that you need to connect to the data source.

dataSourcePassword

Specifies the password that you need to connect to the data source.

exportTableName

Specifies the name of the table you want to export to in the data source.

Return Value

TRUE (1) if the call is successful, FALSE (0) if the call fails.



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com